package com.ysd.entity;

/**
 * 推荐类
 * @author dzj20
 *
 */
public class Recommend {
	private Integer bannerId; // 编号
	private String position; // 位置,如:推荐位A等
	private Integer book_id; // 书id,外键
	private Integer weight; // 比重

	private Books books;
	
	
	private Integer beginPrice;
	private Integer endPrice;
	private Integer page;
	private Integer limit;
	public Integer getBannerId() {
		return bannerId;
	}
	public void setBannerId(Integer bannerId) {
		this.bannerId = bannerId;
	}
	public String getPosition() {
		return position;
	}
	public void setPosition(String position) {
		this.position = position;
	}
	public Integer getBook_id() {
		return book_id;
	}
	public void setBook_id(Integer book_id) {
		this.book_id = book_id;
	}
	public Integer getWeight() {
		return weight;
	}
	public void setWeight(Integer weight) {
		this.weight = weight;
	}
	public Books getBooks() {
		return books;
	}
	public void setBooks(Books books) {
		this.books = books;
	}
	public Integer getBeginPrice() {
		return beginPrice;
	}
	public void setBeginPrice(Integer beginPrice) {
		this.beginPrice = beginPrice;
	}
	public Integer getEndPrice() {
		return endPrice;
	}
	public void setEndPrice(Integer endPrice) {
		this.endPrice = endPrice;
	}
	public Integer getPage() {
		return page;
	}
	public void setPage(Integer page) {
		this.page = page;
	}
	public Integer getLimit() {
		return limit;
	}
	public void setLimit(Integer limit) {
		this.limit = limit;
	}
	public Recommend(Integer bannerId, String position, Integer book_id, Integer weight, Books books,
			Integer beginPrice, Integer endPrice, Integer page, Integer limit) {
		super();
		this.bannerId = bannerId;
		this.position = position;
		this.book_id = book_id;
		this.weight = weight;
		this.books = books;
		this.beginPrice = beginPrice;
		this.endPrice = endPrice;
		this.page = page;
		this.limit = limit;
	}
	public Recommend() {
		super();
	}
	@Override
	public String toString() {
		return "Recommend [bannerId=" + bannerId + ", position=" + position + ", book_id=" + book_id + ", weight="
				+ weight + ", books=" + books + ", beginPrice=" + beginPrice + ", endPrice=" + endPrice + ", page="
				+ page + ", limit=" + limit + "]";
	}

	

}
